<?php
/**
 * Created by Boume.
 * Date: 4/30 0030
 * Time: 8:11
 */
namespace app\admin\controller;
use think\captcha\Captcha;

class Verify
{
    public function index()
    {
        $config =    [
            // 验证码字体大小
//            'fontSize'    =>    30,
            // 验证码位数
            'length'      =>    4,
        ];
        $captcha = new Captcha($config);
        return $captcha->entry();
    }
}